import {CZLNDX, WZCSDX, NJJLDX} from '../dxType.js'

const theme = {}
// 默认主题
theme.common = {
	primary: "#f36838",
	primaryLight: "#f9906f",
	warning: "#f9aa50",
	warningLight: "#f5db6f",
	danger: '#ff2121',
	dangerLight: '#bd5d5e',
	info: '#999999',
	success: '#a0d709',
	common: '#fff'
}
// 常州老年大学
theme.czlndx = {
	primary: "#295247",
	primaryLight: "#3495a6",
	warning: "#e6b65c",
	warningLight: "#f8c463",
	danger: '#bd1831',
	dangerLight: '#bd5d5e',
	info: '#999999',
	success: '#31bb07',
	common: '#fff'
}
// 温州城市大学
theme.wzcsdx = {
	primary: "#2499b2",
	primaryLight: "#7ac7cf",
	warning: "#e99c97",
	warningLight: "#e3ad9b",
	danger: '#ffaa00',
	dangerLight: '#ffd75d',
	info: '#999999',
	success: '#30d4de',
	common: '#fff'
}
// 南京金陵老年大学
theme.njjllndx = {
	primary: "#f36838",
	primaryLight: "#f9906f",
	warning: "#f9aa50",
	warningLight: "#f5db6f",
	danger: '#ff2121',
	dangerLight: '#bd5d5e',
	info: '#999999',
	success: '#a0d709',
	common: '#fff'
}

theme.getTheme = function(appid) {
	switch(appid){
		// 常州老年大学
		case CZLNDX.appid:
			return this.czlndx
		// 温州城市大学
		case WZCSDX.appid:
			return this.wzcsdx
		// 南京金陵老年大学
		case NJJLDX.appid:
			return this.njjllndx
		default:
			return this.common
	}
}

export default theme